<template>
	<view class="notice-page">
		<view class="yu-bold u-font-40 yu-color-3 u-p-20">
			{{dataInfo.title}}
		</view>
		<view class="u-p-20 u-font-32 yu-color-6">
			{{dataInfo.details}}
		</view>
		<u-image width="100%"  mode="widthFix" :src="baseUrl + dataInfo.img"></u-image>
		<view class="u-p-r-50">
			<view class="u-text-right u-p-20 u-font-34">{{dataInfo.creator}}</view>
			<view class="u-text-right u-p-20 u-font-34 yu-color-9">{{dataInfo.createtime}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				baseUrl: this.$api.json('baseUrl')+'/upload/',
				dataInfo:{},
			}
		},
		onLoad() {
			this.dataInfo = JSON.parse(sessionStorage.getItem('noticeDetail'))
		},
		methods: {
			
		}
	}
</script>

<style lang="less">
.notice-page{
	background-color: #FFFFFF;
	height: 100vh;
}
</style>
